package pers.jpa.mapper;

import org.springframework.data.jpa.repository.JpaRepository;
import pers.jpa.bean.User;

import java.util.*;

/**
 * @author
 * @date 2021/1/13 0013 - 下午 14:32
 */
public interface UserMapper extends JpaRepository<User,Integer> {

    //自己定义方法实现查询
    List<User> findByNameLike(String name);
}
